package com.asm.entity.sys;

import com.asm.entity.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.extern.slf4j.Slf4j;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author zhangyufu
 * @description 合同所包含的小区类，继承于BaseEntity类
 * 存放合同与广告位之间的联系
 * @date 2019/7/9
 */
@Slf4j
@Data
@Accessors(chain = true)
@Entity
@Table(name = "t_contract_contain")
public class ContractContain extends BaseEntity {

    /**
     * 合同编号
     */
    @Column(name = "contract_id")
    private long contractId;

    /**
     * 广告位编号
     */
    @Column(name = "spot_id")
    private long spotId;
}
